<?php 
function get_game_category_id($category)
{
	$query="select category_id from game_category where category='$category'";
	$result= exec_sql_query($query);
	$row=mysql_fetch_assoc($result);
	return $row['category_id'];
}

?>







